package com.thoughtworks.biblioteca;


import org.junit.Test;

import static junit.framework.Assert.assertEquals;
import static org.junit.Assert.*;

public class LibraryTest {
Library ob=new Library();

    @Test
    public void testIsAvailable() throws Exception {
String book="If tomorrow comes";
        boolean actual= ob.isAvailable(book);
        boolean expected=true;
        assertEquals(actual, expected);
    }

    @Test
    public void testListAllBooks() throws Exception {

    }

    @Test
    public void testCheckOut() throws Exception {
String book="The windmills of god";
       boolean actual=true;
        boolean expected=ob.checkOut(book);
        assertEquals(actual,expected);
    }

    @Test
    public void testReturnBook() throws Exception {
        String book="The windmills of god";
        boolean actual=false;
        boolean expected=ob.returnBook(book);
        assertEquals(actual,expected);
    }
}